package io.renren.modules.jxgk.service;

import io.renren.modules.jxgk.entity.TeacherInfoEntity;
import io.renren.modules.jxgkphone.entity.TeacherInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TeacherInfoService {
    List<TeacherInfoEntity> queryList(Map<String, Object> map);
    int queryTotal(Map<String, Object> map);
    void deleteBatch(String[] indexs);
    void save(TeacherInfoEntity cse);
    TeacherInfoEntity queryObject(String index);
    void update(TeacherInfoEntity cse);

    String getCollegeByUsername(@Param("username") String username);

    List<TeacherInfo> getTecahersByCollegeUserName(String username);

    TeacherInfoEntity getTeacherInfo(String username);
}
